<div id="broadcastdiv" style="border:#000 0px solid; margin:0 auto; width:40%; text-align:center; position:absolute; margin-left:30%; top:40px;  z-index:1001; display:none; font-size:16px">
论坛控已有新版本升级
</div>
<script>
	  var myDataRef = new Firebase('https://luntankong.firebaseIO.com/');
	  	  
	  var broadcastqueue = new Firebase('https://luntankong.firebaseIO.com/broadcast/');
	  broadcastqueue.on('value', function(snapshot) {
        var message = snapshot.val();
		console.log("广播:" + message);
		if(message.length > 4){
			$("#broadcastdiv").show().html(message);
		}
      });
	  
</script>